<?
require("config.php");

$location_status .= " | Enquire";

$show_backnav = "features_menu";

$menuname = NULL;

$menutarget = NULL;



if (!checkRecord($table,$id)){

	header("location:" . $rela_path . "share/msg.php?v=9002");
  
  }

$Query = "select * from $table where id = $id";
$r = myQuery($Query);

if (!$r)header("location:" . $rela_path . "share/msg.php?v=9002");
$Code = $r[0][1];
$Name = $r[0][2];
$Description = $r[0][3];
$Icon = $r[0][4];
$Image = $r[0][5];



require($rela_path . "inc/header.php");

?> 

<table width="95%" border="0" align="center">
  <tr> 
    <td align="right">&nbsp; </td>
  </tr>
  <tr> 
    <td><p><br>
        <br>
        <br>
      </p>
      <table>
        <tr> 
          <td valign="top" class="tdheader">Code :</td>
          <td><?print($Code)?><br> 
            <!--hidden field-->
            <input name="action" type="hidden" value="delete"> <input name="Code" type="hidden" value="<?print($Code)?>"> 
            <input name="Image" type="hidden" value="<?print($Image)?>"> </td>
        </tr>
        <tr> 
          <td valign="top" class="tdheader">Name :</td>
          <td><?print($Name)?></td>
        </tr>
        <tr> 
          <td valign="top" class="tdheader">Description :</td>
          <td><?print($Description)?></td>
        </tr>
        <tr> 
          <td valign="top" class="tdheader">Icon :</td>
          <td> 
            <?loadImage($Icon,$rela_path . $PIC_DIR . "$table/")?>
          </td>
        </tr>
        <tr> 
          <td valign="top" class="tdheader">Image :</td>
          <td> 
            <?loadImage($Image,$rela_path . $PIC_DIR . "$table/")?>
          </td>
        </tr>
      </table>
      <p><br>
      </p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp; </p></td>
  </tr>
</table>
<?
require($rela_path . "inc/footer.php");
?>
